using System.Web.Security;

namespace Chatu.ControlLider.Web.Models.Security
{
    public interface IMembershipService
    {
        int MinPasswordLength { get; }

        bool ValidateUser(string userName, string password);
        MembershipUser CreateUser(string userName, string password, out MembershipCreateStatus status);
        bool ChangePassword(string userName, string oldPassword, string newPassword);
    }
}